package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Parent implements Serializable {

    private static final long serialVersionUID = 1L;

    public Parent() {
    }

    /**
     * 主键
     */
    private Long id;
    /**
     * 家长分组表id
     */
    private Long parentGroupId;
    /**
     * 用户表id
     */
    private Long userId;
    /**
     * 签约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signingStartTime;
    /**
     * 合约终止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signingEndTime;
    /**
     * 剩余课时
     */
    private Integer surplusClassHour;
    /**
     * 冻结课时
     */
    private Integer frozenClassHour;
    /**
     * 学习积分
     */
    private Integer score;
    /**
     * 妍值
     */
    private Integer growthValue;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /**
     * 修改人
     */
    private Long modifyUserId;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /**
     * 有效状态 0可用 1不可用
     */
    private Integer recStatus;

    public final Long getId() {
        return this.id;
    }

    public final void setId(final Long id) {
        this.id = id;
    }

    public final Long getParentGroupId() {
        return this.parentGroupId;
    }

    public final void setParentGroupId(final Long parentGroupId) {
        this.parentGroupId = parentGroupId;
    }

    public final Long getUserId() {
        return this.userId;
    }

    public final void setUserId(final Long userId) {
        this.userId = userId;
    }


    public final Integer getSurplusClassHour() {
        return this.surplusClassHour;
    }

    public final void setSurplusClassHour(final Integer surplusClassHour) {
        this.surplusClassHour = surplusClassHour;
    }

    public final Integer getFrozenClassHour() {
        return this.frozenClassHour;
    }

    public final void setFrozenClassHour(final Integer frozenClassHour) {
        this.frozenClassHour = frozenClassHour;
    }

    public final Integer getScore() {
        return this.score;
    }

    public final void setScore(final Integer score) {
        this.score = score;
    }

    public final Integer getGrowthValue() {
        return this.growthValue;
    }

    public final void setGrowthValue(final Integer growthValue) {
        this.growthValue = growthValue;
    }

    public final Long getCreateUserId() {
        return this.createUserId;
    }

    public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
    }


    public final Long getModifyUserId() {
        return this.modifyUserId;
    }

    public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public LocalDateTime getSigningStartTime() {
        return signingStartTime;
    }

    public void setSigningStartTime(LocalDateTime signingStartTime) {
        this.signingStartTime = signingStartTime;
    }

    public LocalDateTime getSigningEndTime() {
        return signingEndTime;
    }

    public void setSigningEndTime(LocalDateTime signingEndTime) {
        this.signingEndTime = signingEndTime;
    }

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }

    public final Integer getRecStatus() {
        return this.recStatus;
    }

    public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
    }

}
